package com.ruoyi.kis.Vars;

public final class Constants {
    // 定义整数常量
    public static final int INT_CONSTANT = 100;

    // 定义字符串常量
    public static final String STRING_CONSTANT = "Hello, World!";

    // 定义浮点常量
    public static final double DOUBLE_CONSTANT = 3.14159;


//    protected static final String KIS_URL = "http://61.177.146.10:20997/app/restful/api/erp";
    protected static final String KIS_URL = "http://222.174.136.142:30020/app/restful/api/erp";
    //定义KIS表名时间
    /**
     * 物料信息表
     */
    public static final String T_ICITEMS = "T_ICITEMS";
    public static final String T_ICITEMS_URL = KIS_URL.concat("/skuSync");


    public static final String POINSTOCK = "POInStock";
    /**
     * 收料通知单（采购入库单）
     */
    public static final String OUT_SOURCE_IN_WARE_ORDER = "OUT_SOURCE_IN_WARE_ORDER";
    public static final String OUT_SOURCE_IN_WARE_ORDER_URL = KIS_URL.concat( "/purchaseInbound" );
    /**
     * 生产入库(红)
     */
    public static final String PRODUCT_STORE = "PRODUCT_STORE";
    public static final String RED_CPLKD_URL = KIS_URL.concat("/productReturnOut");
    /**
     * 领料单
     */
    public static final String MATERIAL_REQUISITE = "MATERIAL_REQUISITE";
    public static final String MATERIAL_REQUISITE_URL =KIS_URL.concat( "/productOut");
    /**
     * 销售出库单（发货通知单）
     */
    public static final String DISPATCH_ORDER = "ICStockBill";
    public static final String DISPATCH_ORDER_URL =KIS_URL.concat( "/salesOut");

    /**
     * 销售出库单
     */
    public static final String OUTBOUND_DELIVERY_ORDER = "OUTBOUND_DELIVERY_ORDER";


    /**
     * 调拨单
     */
    public static final String TRANSFER_ORDER = "TRANSFER_ORDER";
    public static final String TRANSFER_ORDER_URL = KIS_URL.concat("/transferOrder");

    /**
     * 退料通知单（下游单据：外购入库单 ）
     */
    public static final String TLTZD_ORDER = "POInstock";
    public static final String TLTZD_URL =KIS_URL.concat( "/purchaseOut");
    /**
     * 退料单 ？？？
     */
    public static final String SCTLD_URL = KIS_URL.concat("");
    /**
     * 盘点单下发？？？
     */
    public static final String PDD_URL = KIS_URL.concat("");

    /**
     * 生产领料单（红）
     */
//    public static final String SCTLTZD_ORDER = "POInstock";
    public static final String SCLLD_RED_URL =KIS_URL.concat( "/produceReturn");

    /**
     * 退货通知单
     */
    public static final String THTZD_ORDER = "SEOutStock";
    public static final String THTZD_URL =KIS_URL.concat( "/returnNotice");


//    public static final String TABLE_ICStockBill = "ICStockBill";
public class TABLE_NAME {
    public static final String ICStockBill = "ICStockBill";
    public static final String POInStock = "POInStock";
}
public class  ZHIKU {
    public static final String ZhiKu_1 = "1";
    public static final String ZhiKu_2 = "2";

    /**
     * 智库1制单人
     */
    public static final String ZhiKu_1_FBillerID = "16421";
    public static final String ZhiKu_2_FBillerID = "16421";
    /**
     * 智库保管人
     */
    public static final String ZhiKu_1_FSManagerID = "38433";
    public static final String ZhiKu_2_FSManagerID = "38433";
    /**
     * 智库审核人
     */
    public static final String ZhiKu_1_FCheckerID = "16394";
    public static final String ZhiKu_2_FCheckerID = "16394";
    /**
     * 智库验收人
     */
    public static final String ZhiKu_1_FFManagerID = "16421";
    public static final String ZhiKu_2_FFManagerID = "16421";

    /**
     * 业务员ID
     *
     */
    public static final String ZhiKu_1_FEmpID = "16421";
    public static final String ZhiKu_2_FEmpID = "16421";

    /**
     * 智库单据状态 1成功 2失败
     */
    public static final String KISFLAG_SUCCESS = "1";
    public static final String KISFLAG_FAILURE = "2";
    /**
     * 下发反馈CODE
     */
    public static final String MSGCODE_SUCCESS = "0";
    public static final String MSGCODE_FAILURE = "1";



    /**
     * 备注添加数据，证明是哪个智库上传
     */
    public static final String ZhiKu_1_FNote = "智库1上传";
    public static final String ZhiKu_2_FNote = "智库2上传";
}
    // 私有构造函数防止创建常量类的实例
    private Constants() {
        throw new AssertionError("Constants class cannot be instantiated.");
    }
}
